home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 096 / admin.arc / MAINTAIN.BAT < prev    next >
Encoding:
DOS Batch File  |  1985-01-30  |  1.0 KB  |  34 lines

  1. echo on
  2. cls
  3. rem               RBBS File Maintenance Batch File
  4. rem                             .
  5. rem               from Dr. Bob's Utilities
  6. rem                             .
  7. rem                             .
  8. rem               call with MAINTAIN ALPHADIR DATEDIR
  9. rem               where ALPHADIR is the name of your master alphabetical dir
  10. rem               and   DATEDIR  is the name of your master date-sorted dir
  11. rem                             .
  12. rem               e.g.  MAINTAIN DIR90 DIR91
  13. rem                             .
  14. pause
  15. exp dir99
  16. copy dir99 dir99.bak
  17. gethed dir99
  18. copy dir99.hed dir0
  19. del dir99.hed
  20. strew rbbs
  21. sysrta dir10 dir20 dir30  ...put the names of your RBBS sub-directories here
  22. dir %1
  23. pause            ABORT IF SIZE of %1 is > 50,000
  24. sysrta %1
  25. dir %2
  26. pause            ABORT IF SIZE of %2 is > 50,000
  27. sysrtrd %2
  28. rename dir0 dir99
  29. pause            About to delete dir99.bak  (abort with Ctrl-C)
  30. del dir99.bak
  31. rename dir0 dir99
  32. rtrd %2
  33. rename dir0 dir99
  34. pause